<ion-view view-title={{paper.cpapername}}>

	<ion-content>

		<div class="list" on-swipe-right="pre_subject()" on-swipe-left="next_subject()">
			<a class="item">第{{subject.iindex}}题:({{subject.single ? '单选题' : '多选题'}})</a>
			<div class="item">
				<pre ng-class="setting.selectfont.class" ng-bind-html="subject.ctitle"></pre>
				<br/>
				<pre ng-class="setting.selectfont.class" ng-bind-html="subject.cquestion"></pre>
			</div>
			<div class="item">
				<b>请选择答案</b>
		    	<div class="row" ng-if="subject.single == true">
<!-- 					<label class="item item-radio" ng-repeat="answer in subject.answerset", ng-click="user_choose_answer_single()">
					    <input type="radio" value={{answer}} ng-model="subject.cmyanswer">
					    <div class="item-content">
					    {{answer}}
					    </div>
					    <i class="radio-icon ion-checkmark"></i>
					 </label> -->
					 <div class='item item-checkbox col' ng-repeat="answer in subject.answerset">
					 	<label class="checkbox">
					 		<input type="radio" value={{answer}} ng-model="subject.cmyanswer" ng-click="user_choose_answer_single()">
					 	</label>
					    {{answer}}
					 </div>
				</div>
				<ul class="row" ng-if="subject.single == false">
					<li class="item item-checkbox col" ng-repeat="answer in subject.answerset" ng-click="user_choose_answer_multi()">
						<label class="checkbox">
							<input type="checkbox" checklist-model="subject.myanswer_multi" checklist-value="answer">
						</label>
						{{answer}}
					</li>
				</ul>
				<a class="button button-positive" ng-click="multi_question_confirm()" ng-if="!subject.single">确认</a>
			</div>
			<div class='item item-clear'>
				<div class="button-bar">
					<a class="button button-clear button-calm" ng-click="pre_subject()">前一题</a>
					<a class="button button-clear button-calm" ng-click="next_subject()">后一题</a>
				</div>
			</div>
			<div class="item" ng-if="subject.show_desc">
				<a ng-if="subject.isubjecttype != 1">你的答案:{{subject.cmyanswer}}
					<font color="green" ng-if="subject.bcorrect == 'true'">(答对了)</font>
					<font color="red" ng-if=" subject.bcorrect == 'false'">(答错了)</font>
				</a>
				<a ng-if="subject.isubjecttype == 1">你的答案:{{subject.myanswer_multi.join()}}
					<font color="green" ng-if="subject.bcorrect == 'true'">(答对了)</font>
					<font color="red" ng-if="subject.bcorrect == 'false'">(答错了)</font>
				</a>
				<br/>
				<a>正确答案:{{subject.canswer}}</a>
				<pre ng-class="setting.selectfont.class" ng-bind-html="subject.cdescription"></pre>
				<div>
					<a class="button button-positive" ng-click="retry_question()">重新答题</a>
					<a class="button button-stable" ng-href="#/correctsubject">纠错</a>
				</div>
				<a ng-if="subject.note.cnotetext" class='item'>
				{{subject.note.cnotetext}}
				<span>{{subject.note.dchangedate}}</span>
				</a>
			</div>
		</div>



	</ion-content>

	<ion-footer-bar>

			<div class="button-bar">
				<a class="button button-clear" ng-click="collect_subject()">
					<img ng-src="{{subject.src}}"width="100%" height="40"/>
				</a>
				<a class="button button-clear"  ng-click="show_check_board()">
					<img src="img/sheet.png"width="100%" height="40"/>
				</a>
				<a class="button button-clear" href="#/usernote">
					<img src="img/note.png"width="100%" height="40"/>
				</a>
				<a class="button button-clear"  href="#/app/setting">
					<img src="img/setting.png"width="100%" height="40"/>
				</a>
		    </div>
	</ion-footer-bar>
</ion-view>
